import React from 'react';
import ReactDOM from 'react-dom/client';
import "./index.css"

import Tabbar from "./components/MyTabbar.jsx"

import App from './router/index'

// 路由模式,使用H5的history API
import { BrowserRouter } from "react-router-dom"

const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(
  <BrowserRouter>
    <App />
    <Tabbar></Tabbar>
  </BrowserRouter>
);